package com.zhen.aikan.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 
 * </p>
 *
 * @author lijiazhen
 * @since 2023-09-11
 */
@Data
@TableName("tb_comment")
@ApiModel(value = "Comment对象", description = "")
public class Comment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty("用户账号")
    private String userId;

    @ApiModelProperty("用户昵称")
    private String userName;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("父评论id")
    private Integer pid;

    @ApiModelProperty("影片id")
    private Integer vodId;

    @ApiModelProperty("点赞")
    private Integer like;

    @ApiModelProperty("评论时间")
    private LocalDateTime time;
}
